﻿namespace RpcModel
{
    public class TcpRemoteReply
    {
        public TcpRemoteReply()
        {

        }
        public TcpRemoteReply(IBasicRes data)
        {
            this.IsError = data.IsError;
            this.MsgBody = RpcHelper.Tools.Json(data);
        }
        public bool IsError
        {
            get;
        }
        /// <summary>
        /// 消息体
        /// </summary>
        public string MsgBody
        {
            get;
            set;
        }
    }
}
